var express = require('express');
var router = express.Router();
var {lsjmodel} = require('../model/mongo/lsj')

router.post('/add',(req,res)=>{
  lsjmodel.create(req.body)
  res.send({code:200,msg:'ok'})
})
         
  

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});

module.exports = router;
